package org.dgm.nw.core.exception;

/**
 * 接口调用异常类<br>
 * handler和action中可直接抛出
 * 
 * @author wangwz
 * @date Jan 17, 2011
 */
@SuppressWarnings("serial")
public class UnifyInvokeException extends BaseException {
	
	//用于承载除回复语外的其他异常信息
	private Object object;
	
	public UnifyInvokeException(String msg, Throwable e) {
		super(msg, e);
	}

	public UnifyInvokeException(String msg, Object object,Throwable e) {  
		super(msg, e); 
		this.object = object;
	}

	public Object getObject() {
		return object;
	} 
}
